<template>

</template>

<script>
import { mapActions } from 'vuex';

export default {
  name: "rtxOrheck",
  data () {
    return {}
  },
  methods: {
    ...mapActions({
             switchFrame: 'frameSwitch'
         }),
  },
  async mounted () {
    try {
      let res = await this.$api.get('/getHttpUrl/RTXORHECK');
      
        //let url = `http://localhost:8086/rtxext/initMultiBoxIndex?whseid=${this.$store.state.wms}&opeuser=${this.$Cookies.get('user')}&users=${this.$Cookies.get('user')}&locale=zh`;
        let url = `${res.bean}?whseid=${this.$store.state.wms}&opeuser=${this.$Cookies.get('user')}&users=${this.$Cookies.get('user')}&token=${this.$Cookies.get('token')}&locale=zh`;
        //this.$router.push({ name: "appiframe", params: { url: url } });
        this.switchFrame({url: url, sw: false});
    } catch (e) {
      this.$message.error(e)
    }

  }
}
</script>

<style scoped>
</style>
